@import "config.less";
area {
  outline: none;
}

@keyframes JUMP {
  0% {
    bottom: 0;
  }
  50% {
    bottom: 20px;
  }
  80% {
    bottom: 0;
  }
  100% {
    bottom: 0;
  }
}

@-webkit-keyframes JUMP {
  0% {
    bottom: 0;
  }
  50% {
    bottom: 20px;
  }
  80% {
    bottom: 0;
  }
  100% {
    bottom: 0;
  }
}

@keyframes FADE {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes FADE {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.swiper-slide {
  overflow: hidden;
  .slide-item {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    min-width: 1200px;
    &.slide-1 {
      background-image: url("../../assets/images/example/banner-1.png");
    }
    &.slide-2 {
      background-image: url("../../assets/images/example/banner-2.jpg");
    }
    &.slide-3 {
      background-image: url("../../assets/images/example/banner-3.jpg");
    }
  }
}

.scale {
  transform: scale(1.05, 1.05);
  transition: transform 5000ms linear;
}

.my-bullet {
  height: 30px;
  width: 30px;
  margin: 0 5px;
  background: url(../images/home/bullet.png) no-repeat -100px center;
  display: inline-block;
  cursor: pointer;
}

.my-bullet.my-swiper-pagination-bullet-active {
  background-position-x: 0;
}

.homepage {
  min-width: 1200px;
  .banner {
    position: relative;
    .scroll-tip {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-20px);
      z-index: 100;
      i {
        display: block;
        margin: 0 auto;
        font-size: 36px;
        height: 20px;
        font-weight: 200;
      }
      i {
        position: relative;
        opacity: 0;
        -webkit-animation-name: FADE;
        -webkit-animation-duration: 1.5s;
        -webkit-animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-direction: normal;
        -ms-animation-name: FADE;
        -ms-animation-duration: 1.5s;
        -ms-animation-timing-function: linear;
        -ms-animation-iteration-count: infinite;
        -ms-animation-direction: normal;
        -moz-animation-name: FADE;
        -moz-animation-duration: 1.5s;
        -moz-animation-timing-function: linear;
        -moz-animation-iteration-count: infinite;
        -moz-animation-direction: normal;
      }
      i.arrow1 {
        -webkit-animation-delay: 0.2s;
        -ms-animation-delay: 0.2s;
        -moz-animation-delay: 0.2s;
        animation-delay: 0.2s;
      }
      i.arrow2 {
        -webkit-animation-delay: 0.4s;
        -ms-animation-delay: 0.4s;
        -moz-animation-delay: 0.4s;
        animation-delay: 0.4s;
      }
      i.arrow3 {
        -webkit-animation-delay: 0.6s;
        -ms-animation-delay: 0.6s;
        -moz-animation-delay: 0.6s;
        animation-delay: 0.6s;
      }
    }
  }
  .home-prop-wrap {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-110px);
    z-index: 100;
    .prop-item {
      // position: relative;
      width: 70px;
      height: 76px;
      background: rgba(30, 38, 47, 0.6);
      margin-bottom: 2px;
      padding-top: 10px;
      .prop-head {
        color: #fff;
        font-size: 16px;
        text-align: center;
      }
      .prop-content {
        display: none;
        position: absolute;
        top: 0;
        right: 70px;
        background: rgba(181, 143, 70, 0.9);
        font-size: 15px;
        color: #fff;
        width: 232px;
        height: 232px;
        padding: 10px;
        img {
          width: 212px;
          height: 212px;
        }
      }
      .item-icon {
        width: 36px;
        height: 36px;
        background: url(../images/home/prop-icon.png) no-repeat left top;
        margin: 0 auto;
      }
    }
    .prop-item.notice:nth-last-child(4) {
      .prop-content {
        width: 500px;
        overflow: hidden;
        cursor: pointer;
        .mask {
          background: url("../images/home/notice-mask.png") no-repeat center
            bottom;
          position: absolute;
          bottom: 0;
          z-index: 10;
          width: 100%;
          min-width: 1200px;
          height: 60px;
        }
      }
    }
    .prop-item:nth-last-child(3) {
      .item-icon {
        background-position-y: -98px;
      }
    }
    .prop-item:nth-last-child(2) {
      .item-icon {
        background-position-y: -198px;
      }
    }
    .prop-item:nth-last-child(1) {
      .item-icon {
        background-position-y: -298px;
      }
    }
    .prop-item:hover {
      background-color: rgba(181, 143, 70, 0.9);
      .prop-content {
        display: block;
      }
      .prop-head {
        color: #fff;
      }
    }

    .qidai{
      padding: 50px 0 0 50px;
      height: 100%;
      color: #000;
      font-size: 30px;
      letter-spacing: 40px;
      background-color: #fff;
    }
  }
  .swiper-pagination {
    text-align: right;
    padding-right: 4%;
    margin-bottom: 30px;
  }
  .building-wrap {
    width: 100%;
    overflow: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    img {
      display: block;
    }
    &.building-bottom {
      position: relative;
    }
    &.building-top {
      bottom: 0;
      z-index: 1;
    }
    .buildingBg {
      width: 100%;
      height: 300px;
      background-color: transparent;
      background-image: url("");
      background-repeat: no-repeat;
      background-position: 0 0;
      position: absolute;
      top: 0;
      z-index: 10;
      opacity: 0.4;
      transition: opacity 0.6s;
      &.active-1 {
        background-image: url(../images/home/building-active-1.png);
        opacity: 1;
      }
      &.active-2 {
        background-image: url(../images/home/building-active-2.png);
        opacity: 1;
      }
      &.active-3 {
        background-image: url(../images/home/building-active-3.png);
        opacity: 1;
      }
      &.active-4 {
        background-image: url(../images/home/building-active-4.png);
        opacity: 1;
      }
    }
    .buildingPic {
      position: relative;
      z-index: 11;
    }
    .building-title-wrap {
      width: 100%;
      position: absolute;
      top: 0;
      .building-title {
        position: absolute;
        text-align: center;
        z-index: 20;
        display: block;
        transition: all 0.4s;
        h3 {
          color: #878583;
          font-size: 40px;
          font-weight: 600;
          line-height: 1.1;
          margin-bottom: 0px;
          text-shadow: 0 2px 1px rgba(255, 255, 255, 1),
            0 -1px 1px rgba(0, 0, 0, 0.3);
          transition: color 0.4s;
        }
        p {
          color: #777;
          font-size: 16px;
          transition: color 0.4s;
          font-family: "Helvetica-Neue-LT-Std";
          letter-spacing: 1px;
        }
        &.active {
          h3 {
            color: #fff;
            text-shadow: none;
          }
          p {
            color: #fff;
          }
        }
      }
      .title-1 {
        top: 100px;
        left: 175px;
        &.active {
          top: 99px;
          left: 320px;
        }
      }
      .title-2 {
        top: 205px;
        left: 470px;
        &.active {
          top: 202px;
          left: 505px;
        }
      }
      .title-3 {
        top: 175px;
        left: 820px;
        &.active {
          top: 160px;
          left: 725px;
        }
      }
      .title-4 {
        top: 160px;
        left: 1230px;
        &.active {
          top: 145px;
          left: 1175px;
        }
      }
      .title-photo {
        position: absolute;
        z-index: 20;
        display: block;
        transition: all 0.4s;
        opacity: 0;
        &.active {
          opacity: 1;
        }
      }
      .photo-1 {
        top: 40px;
        left: 75px;
        &.active {
          top: 57px;
          left: 20px;
        }
      }
      .photo-2 {
        top: 200px;
        left: 320px;
        &.active {
          top: 171px;
          left: 320px;
        }
      }
      .photo-3 {
        top: 100px;
        left: 900px;
        &.active {
          top: 90px;
          left: 900px;
        }
      }
      .photo-4 {
        top: 116px;
        left: 1375px;
        &.active {
          top: 106px;
          left: 1375px;
        }
      }
    }
  }
  .entry-block {
    position: relative;
  }
  .main {
    width: 100%;
    min-width: 1200px;
    background: url(../images/home/main-bg.png) no-repeat center top;
    position: relative;
    .container {
      width: 1600px;
      padding: 50px 0;
      margin: 0 auto;
      .slogen {
        text-align: center;
        color: #999;
        .wing {
          display: inline-block;
          width: 42px;
          height: 16px;
        }
        .slogen-left.wing {
          background: url(../images/home/title-left.png) no-repeat left center;
          margin-top: 3px;
        }
        .slogen-right.wing {
          background: url(../images/home/title-right.png) no-repeat left center;
          margin-top: 3px;
        } // span {
        //   border: 1px solid #d3af68;
        //   display: inline-block;
        //   color: #c9a45c;
        //   padding: 5px 15px;
        //   // height: 30px;
        //   margin: 0 3px;
        //   border-radius: 2px;
        // }
      }
      .home-block {
        padding: 30px;
        background: #fff;
        height: 600px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        .home-block-hd {
          margin-top: 15px;
          padding-bottom: 5px;
          background: url(../images/home/block-title-line.png) no-repeat bottom
            center;
          h3 {
            font-size: 26px;
            color: #333;
            margin-bottom: 0;
            line-height: 1.1;
          }
          p {
            font-size: 50px;
            color: #c3c0bb;
            font-weight: 200;
            line-height: 1.4;
            font-family: "Helvetica-Neue-LT-Std";
          }
        }
      }
      .home-block.news-block {
        .home-news-item {
          position: relative;
          margin: 40px 0 0;
          .date-box {
            text-align: center;
            position: absolute;
            left: 0;
            top: -4px;
            padding-right: 10px;
            h4 {
              font-size: 34px;
              font-weight: 700;
              color: @color-primary;
              margin-bottom: 0;
              line-height: 1;
            }
            p {
              font-size: 12px;
              color: @color-primary;
            }
          }
          .home-news-item-content {
            margin-left: 60px;
            padding-left: 15px;
            color: #666666;
            border-left: 1px solid #e3c88e;
            transition: color 0.2s;
            display: inline-block;
          }
          .home-news-item-content:hover {
            border-left: 2px solid @color-primary;
            padding-left: 14px;
            color: #333;
          }
        }
        .more-btn {
          display: block;
          margin: 0 auto;
          width: 160px;
          border: 1px solid #bbb;
          color: #666;
          font-size: 14px;
          padding: 8px 35px;
          margin-top: 30px;
          transition: color 0.2s, border-color 0.2s, background-color 0.2s;
        }
        .more-btn:hover {
          background-color: @color-primary;
          color: #fff;
          border-color: @color-primary;
        }
      }
      .home-block.guide-block {
        .el-icon-location:focus {
          color: @color-primary;
        }
        .visit-time {
          margin-top: 20px;
          position: relative;
          .title {
            position: absolute;
            top: -20px;
            width: 64px;
            height: 64px;
            background: @color-primary;
            color: #fff;
            font-size: 18px;
            letter-spacing: 8px;
            font-weight: 600;
            padding: 5px 0 0 10px;
            box-shadow: 0 8px 20px rgba(213, 183, 119, 0.9);
            z-index: 30;
          }
          .time-content {
            .grey-box {
              background: #f6f6f6;
              height: 85px;
              position: relative;
              right: -30px;
              padding-left: 50px;
            }
            .line {
              width: 20px;
              border-bottom: 1px solid #333;
              padding-top: 31px;
              margin: 0 15px;
            }
            .hour {
              font-size: 44px;
              font-family: "GeoTimesItalic";
            }
            .min {
              font-size: 30px;
              font-family: "GeoTimesItalic";
            }
          }
        }
        .time-tip {
          padding-bottom: 23px;
          margin-bottom: 25px;
          position: relative;
          right: -30px;
          background: url(../images/home/time-tip-bg.png) no-repeat right bottom;
        }
        .address-info-box {
          p {
            margin-top: 15px;
            span:first-child {
              font-weight: 600;
            }
          }
        }
      }
      .img-link {
        position: relative;
        display: block;
        .title-wrap {
          text-align: center;
          position: absolute;
          width: 100%;
          height: 189px;
          padding: 20px;
          z-index: 30;
          background-color: rgba(0, 0, 0, 0.4);
          transition: background-color 0.2s, box-shadow 0.3s;
          h2 {
            margin-top: 56px;
          }
        }
      }
      .img-link:hover .title-wrap {
        cursor:pointer;
        background: rgba(210, 176, 104, 0.9);
        box-shadow: 0 20px 40px rgba(179, 145, 74, 0.7);
      }
      .img-link.item1 {
        .title-wrap {
          h2 {
            margin-top: 40px;
          }
        }
      }
    }
  }
}

@baseSize: 1596;
@media screen and (max-width: 1399px) {
  @smSize: 1200;
  @smRatio: @smSize / @baseSize;
  .homepage .main {
    background-size: 1443.6px !important;
  }
  .homepage .building-wrap {
    width: 1200px !important;
    .buildingBg {
      background-size: 1200px;
    }
    .building-title-wrap {
      .building-title {
        h3 {
          font-size: @smRatio*40px !important;
        }
        p {
          font-size: @smRatio*16px;
        }
        &.active {
          h3 {
            color: #fff;
            text-shadow: none;
          }
          p {
            color: #fff;
          }
        }
      }
      .title-1 {
        top: @smRatio*100px;
        left: @smRatio*175px;
        &.active {
          top: @smRatio*99px;
          left: @smRatio*320px;
        }
      }
      .title-2 {
        top: @smRatio*205px;
        left: @smRatio*470px;
        &.active {
          top: @smRatio*202px;
          left: @smRatio*505px;
        }
      }
      .title-3 {
        top: @smRatio*175px;
        left: @smRatio*820px;
        &.active {
          top: @smRatio*160px;
          left: @smRatio*730px;
        }
      }
      .title-4 {
        top: @smRatio*160px;
        left: @smRatio*1230px;
        &.active {
          top: @smRatio*145px;
          left: @smRatio*1175px;
        }
      }
      .title-photo {
        transform: scale(@smRatio, @smRatio);
      }
      .photo-1 {
        top: @smRatio*50*0.2px;
        left: @smRatio*20*0.5px;
        &.active {
          top: 13px;
          left: -15px;
        }
      }
      .photo-2 {
        top: @smRatio*190*0.97px;
        left: @smRatio*350*0.8px;
        &.active {
          top: @smRatio*150px;
          left: @smRatio*350*0.8px;
        }
      }
      .photo-3 {
        top: @smRatio*0.9*100px;
        left: @smRatio*0.98*870px;
        &.active {
          top: @smRatio*0.9*90px;
          left: @smRatio*0.98*870px;
        }
      }
      .photo-4 {
        top: @smRatio*116*0.85px;
        left: @smRatio*1375*0.98px;
        &.active {
          top: @smRatio*106*0.85px;
          left: @smRatio*1375*0.98px;
        }
      }
    }
  }
  .homepage .main .container {
    width: 1200px;
    .home-block {
      padding: 20px;
      .home-block-hd {
        h3 {
          font-size: 20px;
        }
        p {
          font-size: 36px;
        }
      }
    }
    .home-block.guide-block {
      .visit-time {
        .time-content {
          .grey-box {
            right: -20px;
            height: 70px;
            padding-top: 5px;
          }
          .hour {
            font-size: 30px !important;
          }
          .min {
            font-size: 20px !important;
          }
          .line {
            width: 15px !important;
            margin: 0 10px;
            padding-top: 20px;
          }
        }
      }
      .time-tip {
        padding-bottom: 10px !important;
        margin-bottom: 22px !important;
        right: -20px !important;
      }
      .address-info-box {
        p {
          margin-left: 20px !important;
        }
      }
    }
  }
}

@media screen and (min-width: 1400px) and (max-width: 1559px) {
  @mdSize: 1400;
  @mdRatio: @mdSize / @baseSize;
  .homepage .main {
    background-size: 1684.2px !important;
  }
  .homepage .building-wrap {
    width: 1400px !important;
    .buildingBg {
      background-size: 1400px;
    }
    .building-title-wrap {
      .building-title {
        h3 {
          font-size: @mdRatio*40px !important;
        }
        p {
          font-size: @mdRatio*16px;
        }
        &.active {
          h3 {
            color: #fff;
            text-shadow: none;
          }
          p {
            color: #fff;
          }
        }
      }
      .title-1 {
        top: @mdRatio*100px;
        left: @mdRatio*175px;
        &.active {
          top: @mdRatio*99px;
          left: @mdRatio*320px;
        }
      }
      .title-2 {
        top: @mdRatio*205px;
        left: @mdRatio*470px;
        &.active {
          top: @mdRatio*202px;
          left: @mdRatio*505px;
        }
      }
      .title-3 {
        top: @mdRatio*175px;
        left: @mdRatio*820px;
        &.active {
          top: @mdRatio*150px;
          left: @mdRatio*725px;
        }
      }
      .title-4 {
        top: @mdRatio*160px;
        left: @mdRatio*1230px;
        &.active {
          top: @mdRatio*145px;
          left: @mdRatio*1175px;
        }
      }
      .title-photo {
        transform: scale(@mdRatio, @mdRatio);
      }
      .photo-1 {
        top: @mdRatio*45*0.73px;
        left: @mdRatio*30*0.73px;
        &.active {
          top: @mdRatio*55*0.73px;
          left: @mdRatio*10*0.73px;
        }
      }
      .photo-2 {
        top: @mdRatio*200px;
        left: @mdRatio*310*0.9px;
        &.active {
          top: @mdRatio*170px;
          left: @mdRatio*310*0.9px;
        }
      }
      .photo-3 {
        top: @mdRatio*100px;
        left: @mdRatio*880px;
        &.active {
          top: @mdRatio*90px;
          left: @mdRatio*880px;
        }
      }
      .photo-4 {
        top: @mdRatio*116px;
        left: @mdRatio*1375*0.99px;
        &.active {
          top: @mdRatio*106px;
          left: @mdRatio*1375*0.99px;
        }
      }
    }
  }
  .homepage .main .container {
    width: 1400px;
    .home-block {
      padding: 25px;
      .home-block-hd {
        h3 {
          font-size: 24px;
        }
        p {
          font-size: 46px;
        }
      }
    }
    .home-block.guide-block {
      .visit-time {
        .time-content {
          .grey-box {
            right: -25px;
          }
          .hour {
            font-size: 40px !important;
          }
          .min {
            font-size: 24px !important;
          }
          .line {
            width: 15px !important;
          }
        }
      }
      .time-tip {
        padding-bottom: 10px !important;
        margin-bottom: 22px !important;
        right: -25px !important;
      }
    }
  }
}

@media screen and (min-width: 1560px) {
  .building-wrap {
    width: 1596px !important;
    .buildingBg {
      background-size: 1596px;
    }
  }
}
